package com.example.springboot_demo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot_demo.pojo.GovDocument;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface GovDocumentMapper extends BaseMapper<GovDocument> {
    // 可以添加自定义的方法
    @Select("select uniqe_id from gov_documents")
    List<String> queryIds();
}